
using AutoMapper;
using LTMCompanyName.YoyoCmsTemplate.Exam;
using LTMCompanyName.YoyoCmsTemplate.Exam.Dtos;

// ReSharper disable once CheckNamespace
namespace LTMCompanyName.YoyoCmsTemplate.CustomDtoAutoMapper
{

	/// <summary>
    /// 配置Stock的AutoMapper映射
	/// 前往 <see cref="YoyoCmsTemplateApplicationModule"/>的AbpAutoMapper配置方法下添加以下代码段
    /// StockDtoAutoMapper.CreateMappings(configuration);
    /// </summary>
	public static class StockDtoAutoMapper
    {
        public static void CreateMappings(IMapperConfigurationExpression configuration)
        {
            configuration.CreateMap <Stock,StockListDto>();
            configuration.CreateMap <StockListDto,Stock>();

            configuration.CreateMap <StockEditDto,Stock>();
            configuration.CreateMap <Stock,StockEditDto>();
					 
							//// custom codes
									
							

							//// custom codes end
        }
	}
}
